import React from 'react';
import {StyleSheet, StatusBar} from 'react-native';
import {createStackNavigator} from '@react-navigation/stack';
const Stack = createStackNavigator();
import Message from './message';

const index = () => {
  return (
    <>
      <StatusBar barStyle="light-content" />
      <Stack.Navigator>
        <Stack.Screen
          name="msg"
          component={Message}
          options={{
            title: '消息',
            headerStyle: {backgroundColor: '#161824'},
            headerTitleAlign: 'center',
            headerTitleStyle: {color: '#fff',fontWeight:'bold',fontSize:20},
          }}
        />
      </Stack.Navigator>
    </>
  );
};

export default index;

const styles = StyleSheet.create({});
